package com.auxgroup.smarthome.business.service.inner;

import com.auxgroup.smarthome.business.service.FeignAppFilterFaultServiceFallBack;
import com.auxgroup.smarthome.business.vo.AppFilterFaultVo;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/9/8 18:31.
 */
@FeignClient(name="INNER-SERVICE", fallback = FeignAppFilterFaultServiceFallBack.class)
public interface FeignAppFilterFaultService {

    @GetMapping(value = "/inner/filter_fault_data")
    ApiResponse<AppFilterFaultVo> getFilterFault(@RequestParam(value = "mac") String mac);

}
